forum

home / developersection / forums / setting default value and displaying in checkboxes

Setting default value and displaying in checkboxes

Anonymous User 1866 04-May-2013
Hi Everyone!
Okay so this is a bit of a double question problem, but they are both related. The first question is how would I set a default value for my column as I want it to be
true/1 (it's a bit column in case you hadn't guessed) and the second issue is that I have a row of checkboxes and I want these to be ticked when I have the value set
as true, my current command is:
cmd.CommandText = "ALTER TABLE tbl_ecom_cat_feature ADD display_on_search BIT";
Thanks in advance!

c# c# 
Updated on 04-May-2013

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By